//
//  AncestorsViewController.h
//  BestPurchase
//
//  Created by ZSMAC on 2018/10/9.
//  Copyright © 2018年 张帅. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface AncestorsViewController : UIViewController
- (void)createItemWithTitle:(NSString *)title selectedImg:(NSString *)selectImg nomalImg:(NSString *)nomalImg leftEdgeInset:(CGFloat)edgeInset isLeft:(BOOL)isLeft method:(SEL)method;

- (void)createItemWithTitle:(NSString *)title selectedImg:(NSString *)selectImg nomalImg:(NSString *)nomalImg leftEdgeInset:(CGFloat)edgeInset isLeft:(BOOL)isLeft method:(SEL)method andTitleAttrubutes:(NSDictionary<NSString * ,id>*)attrubutes;

- (void)NewcreateItemWithTitle:(NSString *)title selectedImg:(NSString *)selectImg nomalImg:(NSString *)nomalImg leftEdgeInset:(CGFloat)edgeInset isLeft:(BOOL)isLeft method:(SEL)method;

- (UIButton *)createItemWith:(NSString *)title andNormalImg:(NSString *)normalImg selectImg:(NSString *)selectImg method:(SEL)method;
- (UIBarButtonItem *)createNavItemWithTitle:(NSString *)title selectedImg:(NSString *)selectImg nomalImg:(NSString *)nomalImg leftEdgeInset:(CGFloat)edgeInset  method:(SEL)method;
- (void)View_TouchDown;
- (void)backItemClicked;
@end
